<?php

return [
    // 公众号
    'official_account' => [
        'default' => [
            'app_id' => env('WECHAT_OFFICIAL_ACCOUNT_APPID', 'your-official-account-appid'),
            'secret' => env('WECHAT_OFFICIAL_ACCOUNT_SECRET', 'your-official-account-secret'),
            'token' => env('WECHAT_OFFICIAL_ACCOUNT_TOKEN', 'your-official-account-token'),
            'alias' => env('WECHAT_OFFICIAL_ACCOUNT_ALIAS', 'your-official-account-alias'),]
    ],
    // 小程序
    'mini_program' => [
        'default' => [
            'app_id' => env('WECHAT_MINI_PROGRAM_APPID', 'your-mini-program-appid'),
            'secret' => env('WECHAT_MINI_PROGRAM_SECRET', 'your-mini-program-secret'),
            //模板消息id
            'template_id' => env('WECHAT_TEMPLATE_ID', 'your-mini-program-template-id')
        ],
        'codingMaster' => [
            'app_id' => env('CODINGMASTER_APPID', 'your-mini-program-appid'),
            'secret' => env('CODINGMASTER_SECRET', 'your-mini-program-secret'),
            //模板消息id
            'template_id' => env('CODINGMASTER_TEMPLATE_ID', 'your-mini-program-template-id')
        ],
    ],
    // 微信支付
    'payment' => [
        'default' => [
            'app_id' => env('WECHAT_PAYMENT_APPID', 'your-app-id'),
            'mch_id' => env('WECHAT_PAYMENT_MCH_ID', 'your-mch-id'),
            'key' => env('WECHAT_PAYMENT_KEY', 'key'),
            'cert_path' => env('WECHAT_PAYMENT_CERT_PATH', 'your-cert-path'), // XXX: 绝对路径！！！！
        ]
    ]
];
